import { IPSModelObject } from '../../ipsmodel-object';
import { IPSControlHandlerAction } from '../ipscontrol-handler-action';

/**
 *
 * 子接口类型识别属性[]
 * @export
 * @interface IPSAjaxHandler
 */
export interface IPSAjaxHandler extends IPSModelObject {
  /**
   * 处理对象基类
   * @type {string}
   */
  handlerObj: string;

  /**
   * 处理对象标记
   * @type {string}
   */
  handlerTag: string;

  /**
   * 处理对象标记2
   * @type {string}
   */
  handlerTag2: string;

  /**
   * 处理行为集合
   *
   * @type {IPSControlHandlerAction[]}
   */
  getPSHandlerActions(): IPSControlHandlerAction[] | null;

  /**
   * 处理行为集合
   *
   * @type {IPSControlHandlerAction[]}
   */
  get psHandlerActions(): IPSControlHandlerAction[] | null;

  findPSControlHandlerAction(objKey: any): IPSControlHandlerAction | null;
}
